<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="数据概括" name="first">
		<el-row>
          <el-col :span="11"><div class="grid-content bg-purple">
            <newly></newly>
          </div></el-col>
          <el-col :span="11"><div class="grid-content bg-purple-light">
            <followup></followup>
          </div></el-col>
        </el-row>
		<el-row>
          <el-col :span="11">
            <div class="grid-content bg-purple">
              <conversion></conversion>
            </div></el-col>
          <el-col :span="11">
            <div class="grid-content bg-purple-light">
              <sourcel></sourcel>
          </div>
        </el-col>
        </el-row>
		<el-row>
          <el-col :span="11"><div class="grid-content bg-purple">
            <studenttype></studenttype>
          </div></el-col>
        </el-row>
	</el-tab-pane>
    <el-tab-pane label="新增学员" name="second">
      <el-row>
          <el-col :span="11">
            <div class="grid-content bg-purple">
              <newly></newly>
            </div></el-col>
          <el-col :span="11">
            <div class="grid-content bg-purple-light">
               <newdata></newdata>
            </div></el-col>
      </el-row>
    </el-tab-pane>
   
  </el-tabs>
	
</template>

<script setup>
import newly from '@/components/content/data/students/newly.vue'
import followup from '@/components/content/data/students/followup.vue'
import  conversion from '@/components/content/data/students/conversion.vue'
import sourcel from '@/components/content/data/students/sourcel.vue'
import studenttype from '@/components/content/data/students/studenttype.vue'
import newdata from '@/components/content/data/students/newdata.vue'


</script>

<style lang="scss" scoped>
.el-tabs{ 
	margin-left: 20px;
}
.el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
	margin-left: 10px;
  }
  .bg-purple-dark {
    background: #99a9bf;
  }
  .bg-purple {
    background: #d3dce6;
  }
  .bg-purple-light {
    background: #e5e9f2;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>
